package com.zr.corporatefactory.mapper;

import com.zr.corporatefactory.model.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import javax.validation.Valid;
import java.util.List;

/**
 * Created by 天赐 on 2019/12/24.
 */
@Mapper
public interface UserMapper {

    @Select("select * from user where username=#{username} and password=#{password}")
    User login(UserLogin userLogin);
}
